<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<meta charset="utf-8" />
<title>ECharts</title>

<%@ include file="/common/pre/header.jsp"%>

<!-- 引入 echarts.js -->
<script src="<%=basePath%>js/echarts.min.js"></script>
<script src="<%=basePath%>js/ecStat.js"></script>
<script type="text/javascript" src="<%=basePath%>js/jquery-1.8.3.js"
	charset="utf-8"></script>
	
<!-- 弹窗 -->
<script
	src="https://cdn.bootcss.com/limonte-sweetalert2/6.4.1/sweetalert2.min.js"></script>
<link rel="stylesheet"
	href="https://cdn.bootcss.com/limonte-sweetalert2/6.4.1/sweetalert2.min.css">
	
	
<style type="">
#findFaultRoom {
	margin-top: -25px;
}
</style>

</head>
<body>
	<c:if test="${user == null}">
		<c:redirect url="login.jsp"></c:redirect>
	</c:if>

	<!-- 为ECharts准备一个具备大小（宽高）的Dom -->
	
	<c:if test="${mess != null}">
	<script>
		swal('Oops...', '数据有误', 'error');
	</script>
	
	</c:if>

	
	<table border="0" class="order_tab"
		style="width: 750px; text-align: center; margin-bottom: 30px;"
		cellspacing="0" cellpadding="0">
		<thead>
		 <tr>
		 <td colspan="10">班级损坏设备详情</td>
		 </tr>
		</thead>
		
		<tbody>



		
			<tr>
				<td width="10%">班级名称</td>
					<c:forEach items="${faultInfo1 }" var="deps">
				
					<td  width="10%" >${deps.faultName }</td>
					</c:forEach>
			</tr>

			<c:forEach items="${classroomInfo }" var="deps">
				<tr>
					<td>${deps.className }</td>
					
					<c:forEach items="${resultMap[deps.className]}" var="temp">
						<td>${temp }</td>
			
					</c:forEach>
				
				
			</c:forEach>
			</tr>

		</tbody>
	</table>




</body>
</html>